Package-level declarations
Types
Link copied to clipboard
abstract class ValidatedField<T>(storedValue: T, defaultValue: T = storedValue) : Entry<T, ValidatedField<T>> , Updatable, TranslatableEntry, EntryCreator
Validated Field Collection - serialization is indistinguishable from their wrapped values, but deserialized into a validated wrapper
Link copied to clipboard
abstract class ValidatedLazyField<T : Any>(defaultValue: T, placeholder: Supplier<T>) : ValidatedField<T>
Represents Validation that may want to serialize its data as late as possible (lazily). This is achieved by returning a placeholder during direct deserialization, and then applying the provided handler (which will normally be the deserialize method) the first time that the value is accessed.